/**
 * @title: ValContext
 * @projectName magic-api
 * @Description TODO
 * @Author
 * @Date 2021/9/10 17:23
 */
package com.sugon.magicapi.module;

import org.springframework.stereotype.Component;
import org.ssssssss.magicapi.config.MagicModule;

import java.util.concurrent.ConcurrentHashMap;
@Component
public class CountContext extends ConcurrentHashMap<String,Long> implements MagicModule{

    @Override
    public Long put(String key, Long value) {
        return super.put(key, value);
    }

    @Override
    public Long get(Object key) {
        return super.get(key);
    }

    @Override
    public String getModuleName() {
        return "countcontext";
    }
}
